<core:SET width='200'>
<core:SET inbox="inbox">

<core:SET title="New Article Feedbacks management">
<core:WRAP file="/adm/adm.layout.html" placeholder="Content">

<core:include file="/adm/inc/inc.adm.tabs.html">

<form id="FeedbackViewForm" name="FeedbackViewForm" method="post" action="" runat="server">
<h1 align="center"> View the article feedback for the article '{$headline}' </h1>

<input name="submission_id" type="hidden" id="submission_id" runat="server">
<input name="page" type="hidden" id="page" runat="server">
<hr>
<core:optional for="msg">
	<span class="message" runat="server"> {$msg} </span>
</core:optional>

<table width="100%" border="0" align="center" cellspacing="2" cellpadding="3">
    <tr align="left">
    	<td class="whiteheader_center">
    		<core:optional for="submission_id">
                View feedback ID: {$submission_id}
            </core:optional>
         </td>
         <td class="whiteheader">
            <a href="/{$#app_name}/pub.myprofile.php"> My Profile </a> &nbsp;
           	<html:link url="/">All new feedbacks </html:link>  &nbsp;
           	Article: {$headline} 
          </td>
     </tr>

    <core:default for="supress_errors">
    <ERRORSUMMARY id='Summary' runat="server">
        <tr valign="top">
          <td width="{$#width}">Errors: &nbsp;</td>
          <td class="left">
          	<FONT COLOR="RED">
          		<list:ITEM> {$ErrorMessage} &nbsp; </list:ITEM>
          	</FONT>
          </td>
        </tr>
     </ERRORSUMMARY>
     </core:default>

     <tr>
     	<td class="small" colspan="2">

     	</td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="league_id" runat="server">ID:</label>
       </td>
       <td class="form_field">
        	{$submission_id}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="category" runat="server">Category:</label>
       </td>
       <td class="form_field">
        	{$category_show}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="status" runat="server">Status:</label>
       </td>
       <td class="form_field">
        	{$status_show}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="name" runat="server">Form title:</label>
       </td>
       <td class="form_field">
        	{$form_header}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="headline" runat="server">Article heading:</label>
       </td>
       <td class="form_field">
         {$headline}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="url" runat="server">URL:</label>
       </td>
       <td class="form_field">
        	{$public_url}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="date" runat="server">Date Posted:</label>
       </td>
       <td class="form_field">
        	{$date}
       </td>
     </tr>

     <tr valign="top">
       <td class="form_label" width="{$#width}">
      	 <label for="author" runat="server">Author:</label>
       </td>
       <td class="form_field">
         <span class="small"> {$author_show} </span>
       </td>
     </tr>


     <tr>
      <td class="whiteheader_center" colspan="2">&nbsp;</td>
     </tr>



</table>

<!-- View feedbacks fields -->

<table width="100%" border="0" align="center" cellspacing="1" cellpadding="2">
    <colgroup>
        <col id="field_name">
        <col id="field_title">
        <col id="value">
    </colgroup>
    <tr align="left">
    	<td colspan="3" class="whiteheader">
    		View article feedback fields
		</td>
	</tr>
	<list:LIST id='List'>
    <tr class="header">
        <th>Field name</th>
        <th>Field title</th>
        <th>Value(s)</th>
    </tr>
    <list:ITEM>
      <tr class="{$Parity}">
        <td>{$name}</td>
        <td>{$title}</td>
        <td>{$value}</td>
      </tr>
    </list:ITEM>
	</list:LIST>

    <tr>
      <td>&nbsp;</td>
      <td colspan="2" class="form_field">
        	<core:default for="new_show">
                <input type="submit" name="deny" value="Mark as unread" runat="server">
        	</core:default>
            <core:optional for="new_show">
            	<input type="submit" name="publish" value="Mark as read" runat="server">
            </core:optional>

            <input type="submit" name="feedbacks" value="Back to new feedbacks" runat="server">
            <core:optional for="next_available">
            	<input type="submit" name="viewnext" value="View next feedback" runat="server">
            </core:optional>

            <html:link url="/delete" param="submission_id">Delete the Feedback</html:link>
      </td>
	</tr>
</table>


</form>